<?php
/**
* @author moufer<moufer@163.com>
* @copyright www.modoer.com
*/
!defined('IN_MUDDER') && exit('Access Denied');

if($_rewrite['membercard']) {
    $patterns[] = '/<a href="('.$patt_siteurl.'|)membercard.php"/i';
    $replacement[] = '<a href="'.$_config['siteurl'].'membercard.html"';
    $patterns[] = '/<a href="('.$patt_siteurl.'|)membercard.php\?pcd=([0-9]+)"/i';
    $replacement[] = '<a href="'.$_config['siteurl'].'membercard_$2.html"';
}
?>